You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Vector Structure > Vector Methods > Vector.LoadFromStream Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Vector.LoadFromStream Method

Reads the header information and the values array content from a stream.

Syntax
C#
Visual Basic
public long LoadFromStream([In] Stream Src);

Reads the header information and the values array content from the SrcStream. The return value indicates the number of elements read.

var b: Vector; AStream: TFileStream; begin b.SetIt(False,[0,0,1,3,2]); AStream := TFileStream.Create('C:test.Vec',fmCreate); try b.LoadFromStream(AStream); // Read info and header for b finally AStream.Free; end; end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!